package com.tn.controller.alarm.common.constants;

import com.tn.socket.CardSendRobot;

/**
 * @ClassName SocketContants
 * @Description TODO
 * @Author Yezhongzhu
 * @Date 2021/12/30 16:33
 * @Version v1.0
 **/
public class SocketContants {

    public enum ACTTYPE{
        LOGIN("login"),//登录
        SYNC_SETTING("sync_setting"),//同步配置
        HEARTBEAT("heartbeat"),//心跳检测
        RETURN_BACK("return_back"),//归还电池消息
        SYNC_BATTERY("sync_battery"),//同步电池消息
        POPUP_CONFIRM("popup_confirm"),//手动全部弹电池
        RENT_CONFIRM("rent_confirm");//请求借电池

        private String type;

        ACTTYPE(String type) {
            this.type = type;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class CardSendRobotField{

        public static final String ACT = "ACT";

        public static final String USABLE_BATTERY = "USABLE_BATTERY";

        public static final String TOTAL = "TOTAL";

        public static final String MAC = "MAC";

        public static final String CCID = "CCID";

        public static final String STATIONID = "STATIONID";

        public static final String ID = "ID";

        public static final String ORDERID = "ORDERID";

        public static final String SLOT = "SLOT";
    }
}
